Package video.api.upstream.models

Types

Link copied to clipboard
data class AudioConfig(    val bitrate: Int = 128000,     val sampleRate: Int = 44100,     val stereo: Boolean = true,     val echoCanceler: Boolean = true,     val noiseSuppressor: Boolean = true)

Describes audio configuration.

Link copied to clipboard
class MultiFileOutputStream(    val filesDir: File,     partSize: Long,     namePrefix: String,     listener: MultiFileOutputStream.Listener) : OutputStream

A class that allows to write to multiple files. The files are created in the given directory.

Link copied to clipboard
class MultiFileUploader : MultiFileOutputStream.Listener

Manages the upload of a video parts. An MultiFileUploader uploads one video only. A video is composed of multiple parts.

Link copied to clipboard
interface SessionListener

Upstream session events listener

Link copied to clipboard
interface SessionUploadPartListener

Upload parts events listener

Link copied to clipboard
interface StreamerListener

Streamer event listener

Link copied to clipboard
data class UploadPart(    val chunkIndex: Int,     val isLast: Boolean,     val file: File,     var sent: Boolean = false)
Link copied to clipboard
class VideoConfig(    val resolution: Resolution = Resolution.RESOLUTION_720,     val bitrate: Int = getDefaultBitrate(resolution),     val fps: Int = 30)

Describes video configuration.